package model

import (
	"github.com/dgrijalva/jwt-go"
	"github.com/jinzhu/gorm"
)

type Personal struct {
	gorm.Model
	Account string `form:"account" json:"account" gorm:"type:varchar(100);unique_index"`
	Unread  int    `form:"unread" json:"unread"`
	//Cfpassword string `form:"cfpassword" json:"cfpassword" gorm:"-"`
	IgnoreMe int `gorm:"-"`
}

type Claims struct {
	Account  string
	Password string
	jwt.StandardClaims
}
